<template>
  <div class="box">
    Friend内容

    {{ $route.params }}
    {{ $route.params.id}}
    {{ $route.params.name }}
  </div>
</template>

<script>
export default {
  name: "FriendComp",
  created() {
    console.log(this.$route.query.name);

  }
};
</script>

<style>
</style>	